package com.wteam.PoJo.DTO;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("购买的商品58")
@Data
public class buygoods {
@ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer goodId;

    @ApiModelProperty("买的数量")
    private Integer goodNumber;

    @ApiModelProperty("商品图片")
    private String goodSmall;

    @ApiModelProperty("商品单价")
    private Double oneGoodPrice;

    @ApiModelProperty("商品名字")
    private String goodName;

    @ApiModelProperty("订单编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ordersnId;

    @ApiModelProperty("售后状态1：待支付 2:待收货 3：确认收货 4：已退货 5:取消订单的商品（不传查全部但是包括5的商品）")
    private Integer afterSaleStatus;

}
